<div class="bg-light lter b-b wrapper-md ng-scope">
    <h4 class="m-n font-thin">查看微信配置</h4>
    <button ui-sref="app.wechatConfig" class="btn-back btn btn-dark btn-sm btn-rounded">
        返回
    </button>
</div>
<div class="wrapper-md">
    <div class="panel panel-default">
        <div class="panel-heading m-n">
            查看微信配置信息
        </div>
        <div class="panel-body" ng-controller="wechatConfigViewCtrl">
            <form class="form-horizontal" method="get">
                <div class="form-group">
                    <label class="col-sm-2 control-label">名称</label>
                    <div class="col-sm-5">
                        <input type="text" ng-model="wechat.shopName" ng-if="wechat.isChain == 0" class="form-control" readonly>
                        <input type="text" ng-model="wechat.chainName" ng-if="wechat.isChain == 1"  class="form-control" readonly>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">AppID</label>
                    <div class="col-sm-5">
                        <input type="text" ng-model="wechat.appId" class="form-control" readonly>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">Secret</label>
                    <div class="col-sm-5">
                        <input type="text" ng-model="wechat.secret" class="form-control" readonly>
                </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">Partner</label>
                    <div class="col-sm-5">
                        <input type="text" ng-model="wechat.partner"  class="form-control" readonly>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">Secret For Pay</label>
                    <div class="col-sm-5">
                        <input type="text" ng-model="wechat.paySecret" class="form-control" readonly>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">Is System Config</label>
                    <div class="col-sm-5">
                        <label class="i-switch m-t-xs m-r">
                            <input type="checkbox" ng-model="wechat.isSys" ng-checked="wechat.isSys==1" ng-init="wechat.isSys=0">
                            <i></i>
                        </label>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
            </form>
        </div>
    </div>
</div>




